package com.servertrack

import java.util.Date;

import com.commonProject.common.classes.CompanyDTO
import com.commonProject.common.intefaces.ICompany

import grails.transaction.Transactional

class CompanyService implements ICompany {
	static transactional = true
		
	 CompanyDTO getelement(Long company_id){	
		def el=Company.get(company_id)
		CompanyDTO dto = new CompanyDTO()
		dto.id=el.id	
		dto.title=el.title
		dto.email=el.email
		dto.dateCreated=el.dateCreated
		
		return dto
	}	
}
